package sctu.edu.java.year2016.team03.huzhou.day20160530.chapter8_2;

/**
 * Created by Administrator on 2016/5/30.
 */
public class Selling extends Fruit {
    @Override
    public void Sell() {

        System.out.println("你要买"+name);
    }

    public static void main(String[] args) {
        Fruit Apple=new Selling();
        Apple.name="apple";
        Apple.price=8.6d;
        Apple.GetPrice(32);
        Apple.Sell();
        // Apple.this.sell();


    }
}